Fix paths set in Shiboken6Tools cmake files
authorStuart Prescott <stuart@debian.org>
Wed, 7 May 2025 13:59:13 +0000 (23:59 +1000)
committerStuart Prescott <stuart@debian.org>
Wed, 7 May 2025 13:59:13 +0000 (23:59 +1000)
Mangle paths in the Shiboken6Tools cmake files a well as the Shiboken6 ones.
With thanks to Sophie Brun for the bug report and solution.

Closes: #1104849
debian/set-paths

index f24da3c7e5090c92dc9a7ba188a54889c77a06ed..ddf5db3db5e74ad2989ecba693fbb39870af89ca 100755 (executable)
@@ -7,7 +7,7 @@
 package="libshiboken6-dev"
 
 # Fix up cmake variables
-for directory in "cmake/Shiboken6"; do
+for directory in "cmake/Shiboken6" "cmake/Shiboken6Tools"; do
     sed -i "
         s|\"\${PACKAGE_PREFIX_DIR}/lib\"|/usr/lib/$DEB_HOST_MULTIARCH|;
         s|\${PACKAGE_PREFIX_DIR}|/usr|;